import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
	state: {
		selectHeader: 1
	},
	mutations: {
		selectHeaderIndex(state, data) {
			state.selectHeader = data
		}
	},
	actions: {},
	getters: {
		todo: (state) => {
			return state.count++
		}
	},
	modules: {}
})
